//  Copyright (c) 2010 Mahesh Sharma,Matt MacDonald
//
//  Permission is hereby granted, free of charge, to any person obtaining a copy
//  of this software and associated documentation files (the "Software"), to deal
//  in the Software without restriction, including without limitation the rights
//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
//  copies of the Software, and to permit persons to whom the Software is
//  furnished to do so, subject to the following conditions:
//
//  The above copyright notice and this permission notice shall be included in
//  all copies or substantial portions of the Software.
//
//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
//  THE SOFTWARE.

package org.prx.prp.model;

public class BillboardAPI {
public static final Integer FEATURED_LIST_STREAM_ID = 1;
public static String BILLBOARD_MODEL_URL="http://beta.billboard.publicradioplayer.org/";
public static String STREAM_SERVICE_URL=BILLBOARD_MODEL_URL+"streams?format=json";
public static String[] STREAMS_MODEL_FIELDS={"id","updated_at_in_utc_seconds", "source_id", "name", "display_name", "frequency", "format", "logo_url", "ad_slot_id"};
public static String[] STREAM_URLS_MODEL_FIELDS={"id","updated_at_in_utc_seconds", "stream_id", "url", "bit_rate", "backgroundable"};
public static String[] SOURCES_MODEL_FIELDS={"id","updated_at_in_utc_seconds","name","location","latitude","longitude","state_primary","state_secondary","state_tertiary","website"};
public static String[] PROGRAMS_MODEL_FIELDS={"id","updated_at_in_utc_seconds", "title", "category", "description", "image_url", "website", "podcast", "link"};			  
public static String[] SCHEDULES_MODEL_FIELDS={"id","program_id", "stream_id", "start_time", "end_time"};
public static String[] PRODUCTIONS_MODEL_FIELDS={ "id","updated_at_in_utc_seconds", "source_id", "program_id"};
public static String[] PROGRAMS_LISTS_MODEL_FIELDS={"id","updated_at_in_utc_seconds", "name"};
public static String[] PROGRAM_LISTINGS_MODEL_FIELDS={"id","updated_at_in_utc_seconds", "program_list_id", "program_id", "position"};
public static String[] STREAMS_LISTS_MODEL_FIELDS={ "id","updated_at_in_utc_seconds", "name"};
public static String[] STREAM_LISTINGS_SOURCES_MODEL_FIELDS={"id","updated_at_in_utc_seconds", "stream_list_id", "stream_id", "position"};
public static String[] CATEGORIES_MODEL_FIELDS={ "id","updated_at_in_utc_seconds", "name"};
public static String[] CATEGORIZATIONS_MODEL_FIELDS={"id","updated_at_in_utc_seconds", "category_id", "program_id"};
public static String[] AD_CONSTANTS_MODEL_FIELDS={"id","updated_at_in_utc_seconds", "name", "value"};
}
